<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ page import="com.lanou3g.bookstore.category.domain.Category" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>修改分类</title>

    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <!--
    <link rel="stylesheet" type="text/css" href="styles.css">
    -->
    <style type="text/css">
        body {
            background: rgb(254, 238, 189);
        }
    </style>
</head>

<body>
<%
    Category category = (Category) request.getAttribute("category");
%>
<h1>修改分类</h1>
<form action="<%=request.getContextPath()%>/adminjsps/admin/adminCategory.do?method=edit" method="post">
    <input type="hidden" name="cid" value="<%=category.getCid()%>"/>
    分类名称：<input type="text" name="cname" value="<%=category.getCname()%>"/>
    <input type="submit" value="修改分类" onclick="alert('修改分类成功！');"/>
</form>
</body>
</html>
